﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Battle
{
    [Serializable]
    public struct ST_ObjBuffData
    {
        public string strGUID;
        public string strBuffName;

        public int nNum;
        public float fNum;
        public float fBuffLife;
        public float fBornTime;

        public Dictionary<string, double> dicCustom;

        public ST_ObjBuffData(string name,int num,float buffLife,float otherNum=0,Dictionary<string, double> dic=null)
        {
            strGUID = string.Empty;
            strBuffName = name;

            nNum = num;
            fNum = otherNum;
            fBuffLife = buffLife;

            fBornTime = UnityEngine.Time.time;

            dicCustom = dic;
        }
    }
}
